package com.xdl.flytest.bean;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 80736
 * @Date: 2019/1/2 17:54
 * @Description:
 */
public class TestCaseInfo extends TestCase {


    // 请求类型（get、post、put、delete）
    private String type;

    // 请求地址
    private String url;

    // 请求参数
    private List<Map<String, Object>> params;

    // 请求head
    private List<Map<String, Object>> headers;

    // 请求body
    private Body body;


    @Override
    public String toString() {
        return "InterfaceInfo{" +
                "type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", params=" + params +
                ", headers=" + headers +
                ", body=" + body +
                '}';
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<Map<String, Object>> getParams() {
        return params;
    }

    public void setParams(List<Map<String, Object>> params) {
        this.params = params;
    }

    public List<Map<String, Object>> getHeaders() {
        return headers;
    }

    public void setHeaders(List<Map<String, Object>> headers) {
        this.headers = headers;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

}
